<template>
<div>
	<hr />
	compositionAPI:v-model-多个
	{{mainData.name1}}:{{mainData.name2}}
	<Vmodel2Child v-model:name1='mainData.name1' v-model:name2='mainData.name2'></Vmodel2Child>
</div>
</template>
<script>
import { reactive } from "vue";
import Vmodel2Child from '/@/compositionAPI/vmodels/Vmodel2Child.vue'
export default {
	name: 'Vmodel2',
	components: {
        Vmodel2Child,
    },
	setup () {
		const mainData = reactive({
			name1: '11',
			name2: '22',
		});

		return {
			mainData,
		}
	},
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>